<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="ISO-8859-1"/>

  <xsl:template match="PLANETES">
    <PLANETES>
        <TOC>
            <xsl:apply-templates mode="toc"/>
        </TOC>
        <xsl:apply-templates select="@*|node()"/>
    </PLANETES>
  </xsl:template>

  <xsl:template match="PLANETE" mode="toc">
    <ENTREE>
        <xsl:value-of select="NOM"/>
    </ENTREE>
  </xsl:template>

  <xsl:template match="@*|node()">
    <xsl:copy>
      <xsl:apply-templates select="@*|node()"/>
    </xsl:copy>
  </xsl:template>
    
</xsl:stylesheet>

